package com.ruoyi.sys.personnel.controller;


import com.ruoyi.common.core.domain.R;
import com.ruoyi.sys.personnel.service.TbEntranceGuardService;
import com.ruoyi.sys.personnel.vo.TbEntranceGuardVO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@Api(value = "人员管理", tags = "人员管理接口")
@CrossOrigin
@RestController
public class TbEntranceGuardController {

    @Autowired
    private TbEntranceGuardService tbegService;
    @ApiOperation(value = "门禁设备管理-设备列表接口-查所有")
    @GetMapping("/tbeg")
    public R getAll(TbEntranceGuardVO vo){
        return tbegService.getAll(vo);
    }



}
